/**
 * @author SunBingJian
 * @desc T0D0
 * @date 2025/9/1
 */
public class ViralDemo3 {
    public static void main(String[] args) {
        int i1 = 10;
        long l1 = i1;
        System.out.println("l1 = " + l1);

        float f1 = 3.14f;
        System.out.println("f1 = " + f1);
        double d1 = f1;
        System.out.println("d1 = " + d1);

        int i2 = 18;
        double d2 = i2;
        System.out.println("d2 = " + d2);

        char c1 = 'a';
        int i3 = c1;
        System.out.println("i3 = " + i3);
        char c2 = '王';
        int i4 = c2;
        System.out.println("i4 = " + i4);

        double do1 = 14.5;
        float fl1 = (float)do1;
        System.out.println("fl1 = " + fl1);

        double do2 = 14.3;
        int in1 = (int)do2;
        System.out.println("in1 = " + in1);//14
        double do3 = 14.7;
        float in2 = (int)do3;
        System.out.println("in2 = " + in2);//14

        int in3 = 65;
        char ch1 = (char)in3;
        System.out.println("ch1 = " + ch1);
    }
}
